将视图裁剪为指定形状,并保持内容比例。
clipShape?: Shape
<Image filePath="path/to/photo.jpg" clipShape="Circle" /> <Image filePath="path/to/photo.jpg" clipShape={ type: "rect", cornerRadius: 12 } />